﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CApproval.aspx.cs" Inherits="UseCar.CApproval" %>

<%@ Register Src="../../Processes/ProcessControl/UserInfo.ascx" TagName="UserInfo"
    TagPrefix="ui" %>
<%@ Register Src="../../Processes/ProcessControl/ApprovalHistory.ascx" TagName="ApprovalHistory"
    TagPrefix="ah" %>
<%@ Register Src="../../Processes/ProcessControl/Attachments.ascx" TagName="Attachments"
    TagPrefix="attach" %>
<%@ Register Src="../../Processes/ProcessControl/ButtonList.ascx" TagName="ButtonList"
    TagPrefix="btn" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>用车申请</title>
    <link rel="Stylesheet" href="../../App_Themes/formValidator2.5/css/validationEngine.jquery.css" />
    <script src="../../js/jquery.js" type="text/javascript"></script>
    <script type="text/javascript" src="../../js/My97DatePicker/WdatePicker.js"></script>
    <script language="javascript" type="text/javascript">
        jQuery(document).ready(function () {
            //禁用编辑
            $("#fld_DRIVER").keydown(function (event) {
                return false;
            });
        })
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="container">
        <div class="row">
            <ui:userinfo id="UserInfo1" processtitle="用车申请" readonly="true" tablename="PROC_USECAR"
                runat="server"></ui:userinfo>
        </div>
        <div class="row">
            <table class="table table-condensed table-bordered">
                <tr>
                    <td class="banner" colspan="4">
                        详细信息
                    </td>
                </tr>
                <tr>
                    <td class="td-label">
                        车辆名称：
                    </td>
                    <td class="td-content">
                        <asp:Label ID="fld_CARNAME" runat="server"></asp:Label>
                    </td>
                    <td class="td-label">
                        用车人数：
                    </td>
                    <td class="td-content">
                        <asp:Label ID="fld_USERNUM" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="td-label">
                        是否出差：
                    </td>
                    <td class="td-content">
                        <asp:Label ID="fld_ISTRAVEL" runat="server"></asp:Label>
                    </td>
                    <td class="td-label">
                        是否节假日用车：
                    </td>
                    <td class="td-content">
                        <asp:Label ID="fld_ISHOLIDAY" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="td-label">
                        用车开始时间：
                    </td>
                    <td class="td-content">
                        <asp:Label ID="fld_USESTART" runat="server"></asp:Label>
                    </td>
                    <td class="td-label">
                        用车结束时间：
                    </td>
                    <td class="td-content">
                        <asp:Label ID="fld_USEEND" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="td-label">
                        事由及地点：
                    </td>
                    <td class="td-content" colspan="3">
                        <asp:Label ID="fld_REASON" runat="server" Width="87%"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="td-label">
                        驾驶员：<span class="red">*</span>
                    </td>
                    <td class="td-content" colspan="3">
                        <asp:TextBox ID="fld_DRIVER" runat="server" CssClass="validate[required]" AutoCompleteType="Disabled" Width="80%"></asp:TextBox>
                         <asp:TextBox runat="server" ID="fld_DRIVERACCOUNT" style="display:none;"></asp:TextBox>
                        <input id="btnChoose" type="button" class="btn" runat="server" value="选择" onclick="selectUser(2,'fld_DRIVER','fld_DRIVERACCOUNT')" />
                    </td>
                </tr>
            </table>
        </div>
        <div class="row">
            <attach:attachments id="Attachments1" runat="server" readonly="true"></attach:attachments>
        </div>
        <div class="row">
            <ah:approvalhistory id="ApprovalHistory1" showaction="true" runat="server"></ah:approvalhistory>
        </div>
        <div class="row">
        </div>
    </div>
    <btn:buttonlist id="ButtonList1" runat="server"></btn:buttonlist>
    <div style="display: none;">
    </div>
    </form>
</body>
</html>
